<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<html>
<head>
<title>计价系统</title>
<!-- 新 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet" href="${ pageContext.request.contextPath }/css/bootstrap.min.css">

<!-- 可选的Bootstrap主题文件（一般不用引入） -->
<link rel="stylesheet" href="${ pageContext.request.contextPath }/css/bootstrap-theme.min.css">

<style type="text/css">
	body{
	padding-top:70px;
	}
</style>


<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
<script src="${ pageContext.request.contextPath }/js/jquery.min.js"></script>

<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="${ pageContext.request.contextPath }/js/bootstrap.min.js"></script>

</head>
<body>
	<nav class="navbar navbar-inverse navbar-fixed-top">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">螃蟹计价系统</a>
        </div>
        
        <!-- Collect the nav links, forms, and other content for toggling -->
	    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
	      
	      <ul class="nav navbar-nav">
	        <li><a href="${ pageContext.request.contextPath }/index.jsp">首页 <span class="caret"></span></a></li>
	        
	        <li class="dropdown">
	          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">清单创建 <span class="caret"></span></a>
	          <ul class="dropdown-menu">
	            <li><a href="${ pageContext.request.contextPath }/crab_list.do?isOrder=1">收货清单</a></li>
	            <li><a href="${ pageContext.request.contextPath }/crab_list.do?isOrder=0">出货清单</a></li>
	          </ul>
	        </li>
	        
	        <li class="dropdown">
	          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">今日汇总 <span class="caret"></span></a>
	          <ul class="dropdown-menu">
	            <li><a href="${ pageContext.request.contextPath }/order_searchByDate.do?isOrder=1">收货清单</a></li>
	            <li><a href="${ pageContext.request.contextPath }/order_searchByDate.do?isOrder=0">出货清单</a></li>
	            <li role="separator" class="divider"></li>
	            <li><a href="${ pageContext.request.contextPath }/order_searchNumberByDate.do">规格比较</a></li>
	          </ul>
	        </li>
	        
	        <li class="dropdown">
	          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">清单查询 <span class="caret"></span></a>
	          <ul class="dropdown-menu">
	            <li><a href="${ pageContext.request.contextPath }/order_search.do?isOrder=1">收货清单</a></li>
	            <li><a href="${ pageContext.request.contextPath }/order_search.do?isOrder=0">出货清单</a></li>
	            <li><a href="${ pageContext.request.contextPath }/order_searchNumberByTimeUI.do">规格查询</a></li>
	          </ul>
	        </li>
	        
	      </ul>
	     
	      <ul class="nav navbar-nav navbar-right">	
	        <li class="dropdown active">
	          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">用户 <span class="sr-only">(current)</span></a>
	          <ul class="dropdown-menu">
	            <li><a href="${ pageContext.request.contextPath }/user_updateUI.do?userid=1">修改用户</a></li>
	          </ul>
	        </li>
	      </ul>
	    </div><!-- /.navbar-collapse -->
       
      </div>
   </nav>
    
	<div class="container">
		<div class="row-fluid">
			<div class="span12">
				<br/>
				<br/>
				<br/>
				<br/>
				<br/>
				<div class="col-md-3 column"></div>
				<div class="col-md-6 column">
					<div class="panel panel-default">
					  <div class="panel-heading">用户信息修改</div>
						  <div class="panel-body">
						   		<s:form action="user_update" method="post">
						   		  <input type="hidden" name="user.id" value="<s:property value='#user.id'/>">
								  <div class="form-group">
								    <label for="username">用户姓名</label>
								    <input type="text" class="form-control" id="username" name="user.username" value="<s:property value='#user.username'/>">
								  </div>
								  <div class="form-group">
								    <label for="phone">联系电话</label>
								    <input type="text" class="form-control" id="phone" name="user.phone" value="<s:property value='#user.phone'/> ">
								  </div>
								   <div class="form-group">
								    <label for="company">公司名称</label>
								    <input type="text" class="form-control" id="company" name="user.company" value="<s:property value='#user.company'/>">
								  </div>
								   <div class="form-group">
								    <label for="address">公司地址</label>
								    <input type="text" class="form-control" id="address" name="user.address" value="<s:property value='#user.address'/>">
								  </div>
								 
								  <button type="submit" class="btn btn-default">确定</button>
								</s:form>
						  </div>
					</div>
				</div>
				<div class="col-md-3 column"></div>
					
			</div>
		</div>
	</div>
	
</body>
</html>
